package com.hxzy.module.admin.api.role.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author wy
 * @Description TODO
 * @Date 2024/2/2 9:24
 * @Version 1.0
 */
@Getter
@Setter
@ApiModel(value = "新增角色模型")
public class AdminRoleAddReq {


    @ApiModelProperty("角色名称")
    @NotBlank(message = "角色名称不能为空")
    private String roleName;

    @ApiModelProperty("角色描述")
    private String roleDescription;

    @ApiModelProperty("状态 true启用 false 禁用")
    @NotNull(message = "状态不能为空")
    private Boolean state;

}
